<template>
	<view class="login-box">
		<image src="../../static/loginBgc.jpg" class="loginBgc"></image>
		<iframe class="login-frame" :src="callBackUrl" />
	</view>
</template>
<script>
	import envConfig from '../../utils/env.js'
	export default {
		data() {
			return {
				callBackUrl: envConfig[process.env.ENV_TYPE].loginUrl
			};
		}
	}
</script>
<style lang="scss">
	.login-box {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		.loginBgc {
			width: 100%;
		}

		.login-frame {
			margin-top: 120rpx;
			// width: 50%;
			width: 800rpx;
			height: 400px;
			border: none;
		}
	}
</style>